package 装饰者模式.制作咖啡;

/**
 *
 */
public abstract class Decorator implements Coffee {

    protected Coffee component;

    public Decorator(Coffee component) {
        this.component = component;
    }

    @Override
    public void operator() {
        component.operator();
    }
}
